<?php
include('inc/connectbase.php');
//$db_connexion=mysql_connect("db3063.1and1.fr", "dbo357985614", "surprize75") or die("impossible de se connecter a la base");
//mysql_select_db("db357985614",$db_connexion);
$Agent=$_SERVER["HTTP_USER_AGENT"];
$Email=$_GET['Email'];
$List=$_GET['List'];
$Jour=date('d');
$Mois=date("m");
$Annee=date("Y");
$req1=mysql_query("SELECT * FROM verif_mail WHERE VEmail='$Email'") or die (mysql_error());
$nbuser=mysql_num_rows($req1);
if($nbuser==0){
$req=mysql_query("INSERT INTO `verif_mail` (`idVM` , `Ouvert` , `VEmail` , `Agent` , `List` , `Jour` , `Mois` , `Annee`) VALUES ('', 'oui', '$Email', '$Agent', '$List', '$Jour', '$Mois', '$Annee')") or die (mysql_error());
}
?>